<volist name="child" id="cgi">
<?php if(isset($child[$i-1]['classid'])){?>
<ul id="ui-{$i}" class="ksmUL">
	<li>
		<div class="ksmA">
				<a class="ksmA ksmChild" href="#" style="padding-left:3px;">⊙ {$cgi.name}</a>
				<div id="m-{$cgi.id}-p-{$cgi.classid}"></div>
		</div>
	</li>
</ul>

<?php } else {?>
<ul id="ui-{$i}" class="ksmUL">
	<li id="" class=" ksmLevel0 ksmCollapse ">
		<div class="ksmA ksmParent">
				<span class="ksmLeft"></span>
				<a class="ksmA ksmChild" href="#" style="padding-left:3px;"> {$cgi.name}</a>
				<span class="error_msg" style="color:#D35671;"></span>
				<div id="m-{$cgi.id}-p-{$cgi.parentid}"></div>
		</div>
	</li>
</ul>
<?php }?>
</volist>

